package com.lj.tools.jwt;


import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 用户统一验证数据模型
 * */
@Data
public class SecretUser implements Serializable {

    private Integer id;
    private String type;
    private Integer schoolId = 0;
    private String name;
    private String account;
    private Boolean isRoot = false;
    private Boolean isEnable = true;
    private String openId;

    private Boolean isLock = false;
    private List<String> permissionList = new ArrayList<String>();
    private String token;//当前有效的token
}